﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Excel = Microsoft.Office.Interop.Excel;

namespace easyExcel.Util
{
    static class StringUtil
    {
        public static void Trim(Excel.Range range)
        {
            range.Value = range.Value.Trim();
        }

        public static void TrimStart(Excel.Range range)
        {
            range.Value = range.Value.TrimStart();
        }

        public static void TrimEnd(Excel.Range range)
        {
            range.Value = range.Value.TrimEnd();
        }
    }
}
